package cn.iocoder.yudao.module.member.dal.mysql.siteconfiguration;

import cn.iocoder.yudao.framework.mybatis.core.mapper.BaseMapperX;
import cn.iocoder.yudao.module.member.dal.dataobject.siteconfiguration.MemberDeviceConfigDo;
import cn.iocoder.yudao.module.member.dal.dataobject.siteconfiguration.SysLinkDo;
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface SysLinkMapper extends BaseMapperX<SysLinkDo> {
    default void deleteBySiteCode(String siteCode){
        delete(new LambdaQueryWrapper<SysLinkDo>()
                .eq(SysLinkDo::getSiteCode, siteCode));
    }
}
